@extends('host.custom.common.common')

@section('c-head')
    <script>
        var PAGE_DATA = {
            pagingObj : {
                total : 0,
                pageSize : 5,
                page : 1
            },
            searchType : [
                {code:"10001", text:"商品名称"},
                {code:"10002", text:"授权范围"}
            ],
            status : [
                {code:"0", text:"过期"},
                {code:"1", text:"合作中"}
            ]
        };
    </script>
@stop

@section('body')
        <!-- top_test -->
<div id="top_test"> </div>

<!-- web_logo_search -->
<div id="web_logo_search"> </div>

<!-- comm_nav -->
<div id="comm_nav"> </div>


<div class="com-w mt20">
    <div class="wrapper clearfix">
        <div  class="w220 mr20 comm-left-menu">
            <div class="menu-top-title">供应商中心</div>
            <div id="leftmenuitems">
            </div>
        </div>

        <div class="w960 comm-main">
            <div class="main-release clearfix">
                <div class="main-release-nav">
                    您当前的位置：首页 > 供应商中心 > 分销关系管理
                </div>
                <div class="main-release-title">
                    <span class="icons"></span>
                        <span class="release-title-h3 f16">
                            分销关系管理
                        </span>
                </div>
                <div class="main-release-from">

                    <div class="h60 w960">

                        <div class="mt30 comm-oper-line w700 clearfix">
                            <div class="oper-item  h30">
                                <select id="search-type">
                                    <option value="1">商品名称</option>
                                    <option value="2">授权范围</option>
                                </select>
                            </div>
                            <div class="oper-item ml10">
                                <input type="text" class="w130 h30" id="search-word" value=""/>
                            </div>
                            <div class="oper-item lbl-txt ml10">状态: </div>
                            <div class="oper-item">
                                <select id="status">
                                    <option value="1">状态1</option>
                                    <option value="2">状态2</option>
                                </select>
                            </div>
                            <div id="search-btn" class="btn btn-warn btn-70x30 ml10">查询</div>
                        </div>
                    </div>

                    <div class="comm-tbl">
                        <div class="head">
                            <ul class="clearfix">
                                <li class="w100">图片 </li>
                                <li class="w160"> 商品名称 </li>
                                <li class="w140"> 授权价格 </li>
                                <li class="w160"> 采购商名称 </li>
                                <li class="w140"> 授权范围 </li>
                                <li class="w140"> 采购商授权 </li>
                                <li class="w120"> 操作 </li>
                            </ul>
                        </div>
                        <div id="commTabs_1_body" class="body tbli80 distribution-admin">

                        </div>

                    </div>
                    <div id="comm-paging" class="comm-paging" style="float: right;"></div>

                </div>
            </div>
        </div>
    </div>
</div>


<!-- foot_nav -->
<div id="foot_nav"> </div>

<div id="bottom_main">  </div>

<script type="text/template" id="item-template">
    <%_.each(obj, function(item){%>
    <ul class="clearfix">
        <li class="w100"> <a href="<%=item.href_url %>"> <img src="<%=item.img %>" /></a> </li>
        <li class="w160"> <a href="<%=item.href_url %>" class="f-coffee" style="display:block;line-height:14px;margin-top: 22px;text-align: left;"><%=item.proname %></a> </li>
        <li class="w140">
            <div class="mt20">
                <span class="c-999">批&nbsp;&nbsp;&nbsp;发&nbsp;&nbsp;&nbsp;价：</span>
                <span class="f-red">￥<%=item.tradeprice %></span>
            </div>
            <div class="mt5">
                <span class="c-999">分销采购价：</span>
                <span class="f-red">￥<%=item.purchaseprice %></span>
            </div> </li>
        <li class="w160 f-orange"> <%=item.buyer %> </li>
        <li class="w140 f-grey-1"> <%=item.rangearea %> </li>
        <li class="w140 f-grey-1"> <%=item.buyerrange %> </li>
        <li class="w120">
            <a href="<%=item.href_url %>" id="" class="btn btn-default btn-70x30 mt5">
                查看
            </a>
        </li>
    </ul>
    <%});%>
</script>
    <script type="text/javascript" src="/assets/b2b/js/libs/dialog-min.js"></script>
    <script src="/assets/b2b/js/libs/jquery.paging.min.js"></script>
<script src="/assets/b2b/js/pageModules/supplyer/S12.js"></script>
@stop